package com.example.demo2.entity;

import java.util.Date;

/**
 * @author
 * @version 1.0
 * @description TODO
 * @date 2024/6/20 9:31
 */
public class CalHistory {
    private int id;
    private String name;
    private Date time;
    private String creater;

    public CalHistory(String name, Date time) {
        this.name = name;
        this.time = time;
    }

    public CalHistory(int id, String name, Date time, String creater) {
        this.id = id;
        this.name = name;
        this.time = time;
        this.creater = creater;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }
}
